﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IHISCETeim.DAL;
using IHISCETeim.Model;
using IHISCETeim.Library;
using System.Data;

namespace IHISCETeim.BLL
{
    public class XZKaoQinController
    {
        public static int Add(List<XZKaoQinInfo> objs)
        {
            return XZKaoQinDAL.Add(objs);
        }
        public static bool Delete(int KQID)
        {
            return XZKaoQinDAL.Delete(KQID);
        }
        public static DataTable GetPagination(string WhereSql, int PageIndex, int PageSize, string Sort, ref int TotalCount)
        {
            return XZKaoQinDAL.GetPagination(WhereSql, PageIndex, PageSize, Sort, ref  TotalCount);
        }

        public static DataTable GetTJReport(DateTime KQDateFrom, DateTime KQDateTo)
        {
            return XZKaoQinDAL.GetTJReport(KQDateFrom, KQDateTo);
        }
    }
}
